package com.tjetc.mapper;

import com.tjetc.domain.Admin;
import org.apache.ibatis.annotations.Select;

public interface AdminMapper {
    int deleteByPrimaryKey(Integer adminId);

    int insert(Admin record);

    Admin selectByPrimaryKey(Integer adminId);

    int updateByPrimaryKey(Admin record);

    @Select("select * from admin where password=#{password} and username=#{username}")
    Admin get(Admin admin);
}